package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.Workflow;

public interface WorkflowService {
    Result<PageInfo<Workflow>> queryWorkflows(Workflow workflow,int page,int size);

    Result<Workflow> queryByCode(String code);

    Result saveWorkflow(Workflow workflow);

    Result deleteById(Long id);

    Result batchDelete(Long[] id);

    Result updateWorkflow(Workflow workflow);

}
